home *** CD-ROM | disk | FTP | other *** search
/ PC Player 2004 May / pc player 2004-05.iso / Demos / FarCry / Data1.cab / _2AFD49FA11224679B2B54888E15C5267 < prev    next >
Encoding:
Text File  |  2004-01-06  |  3.1 KB  |  94 lines

  1. Script:LoadScript("scripts/materials/commoneffects.lua");
  2. Materials["mat_plastic"] = {
  3. -------------------------------------
  4.     PhysicsSounds=PhysicsSoundsTable.Hard,
  5. -------------------------------------    
  6.     bullet_drop_single = CommonEffects.common_bullet_drop_single_ashphalt,
  7.     bullet_drop_rapid = CommonEffects.common_bullet_drop_rapid_ashphalt,
  8. -------------------------------------    
  9.     bullet_hit = {
  10.         sounds = {
  11.             --{"Sounds/Weapons/MP5/Ric1.wav"},
  12.             --{"Sounds/Weapons/MP5/Ric2.wav"},
  13.             --{"Sounds/Weapons/MP5/Ric3.wav"},
  14.         },
  15.         
  16.         decal = { 
  17.             texture = System:LoadTexture("Textures/Decal/Default.tga"),
  18.             scale = 0.1,
  19.         },
  20.         particles = {
  21.             { --HitSmoke 
  22.                 focus = 1.5,
  23.                 color = {0.29,0.19,0.0},
  24.                 speed = 0.75,
  25.                 count = 3, --default 2
  26.                 size = 0.05, 
  27.                 size_speed=0.15,
  28.                 gravity=-1,
  29.                 lifetime=0.5,
  30.                 tid = System:LoadTexture("textures\\cloud.jpg"),
  31.                 frames=0,
  32.                 color_based_blending = 3
  33.             },
  34.         },
  35.     },
  36.  
  37.     projectile_hit = CommonEffects.common_projectile_hit,
  38.     mortar_hit = CommonEffects.common_mortar_hit,
  39.     smokegrenade_hit = CommonEffects.common_smokegrenade_hit,
  40.     flashgrenade_hit = CommonEffects.common_flashgrenade_hit,
  41.     grenade_hit = CommonEffects.common_grenade_hit,
  42.     melee_slash = {
  43.         sounds = {
  44.             {"sounds/player/footsteps/metal/step1.wav",SOUND_UNSCALABLE,185,5,30},
  45.             {"sounds/player/footsteps/metal/step2.wav",SOUND_UNSCALABLE,185,5,30},
  46.             {"sounds/player/footsteps/metal/step3.wav",SOUND_UNSCALABLE,185,5,30},
  47.             {"sounds/player/footsteps/metal/step4.wav",SOUND_UNSCALABLE,185,5,30},
  48.         },
  49.     },
  50. -------------------------------------
  51.     player_walk = {
  52.         sounds = {
  53.             {"sounds/player/footsteps/rock/step1.wav",SOUND_UNSCALABLE,140,10,60},
  54.             {"sounds/player/footsteps/rock/step2.wav",SOUND_UNSCALABLE,140,10,60},
  55.             {"sounds/player/footsteps/rock/step3.wav",SOUND_UNSCALABLE,140,10,60},
  56.             {"sounds/player/footsteps/rock/step4.wav",SOUND_UNSCALABLE,140,10,60},
  57.         },
  58.     },
  59.     player_run = {
  60.         sounds = {
  61.             {"sounds/player/footsteps/rock/step1.wav",SOUND_UNSCALABLE,200,10,60},
  62.             {"sounds/player/footsteps/rock/step2.wav",SOUND_UNSCALABLE,200,10,60},
  63.             {"sounds/player/footsteps/rock/step3.wav",SOUND_UNSCALABLE,200,10,60},
  64.             {"sounds/player/footsteps/rock/step4.wav",SOUND_UNSCALABLE,200,10,60},
  65.         },
  66.     },
  67.     player_crouch = {
  68.         sounds = {
  69.             {"sounds/player/footsteps/rock/step1.wav",SOUND_UNSCALABLE,120,10,60},
  70.             {"sounds/player/footsteps/rock/step2.wav",SOUND_UNSCALABLE,120,10,60},
  71.             {"sounds/player/footsteps/rock/step3.wav",SOUND_UNSCALABLE,120,10,60},
  72.             {"sounds/player/footsteps/rock/step4.wav",SOUND_UNSCALABLE,120,10,60},
  73.         },
  74.     },
  75.     player_prone = {
  76.         sounds = {
  77.             {"sounds/player/footsteps/rock/step1.wav",SOUND_UNSCALABLE,120,10,60},
  78.             {"sounds/player/footsteps/rock/step2.wav",SOUND_UNSCALABLE,120,10,60},
  79.             {"sounds/player/footsteps/rock/step3.wav",SOUND_UNSCALABLE,120,10,60},
  80.             {"sounds/player/footsteps/rock/step4.wav",SOUND_UNSCALABLE,120,10,60},
  81.         },
  82.     },
  83.     player_walk_inwater = CommonEffects.player_walk_inwater,
  84.     gameplay_physic = {
  85.         piercing_resistence = 15,
  86.         friction = 0.6,
  87.         bouncyness= 0.2, --default 0
  88.     },
  89.  
  90.     AI = {
  91.         fImpactRadius = 5,
  92.     },
  93.             
  94. }